package com.qdu.bussiness.mapper;

import java.util.List;
import com.qdu.bussiness.domain.BusRecharge;

/**
 * 充值记录Mapper接口
 * 
 * @author qdu
 * @date 2022-03-13
 */
public interface BusRechargeMapper 
{
    /**
     * 查询充值记录
     * 
     * @param rechargeId 充值记录主键
     * @return 充值记录
     */
    public BusRecharge selectBusRechargeByRechargeId(Long rechargeId);

    /**
     * 查询充值记录列表
     * 
     * @param busRecharge 充值记录
     * @return 充值记录集合
     */
    public List<BusRecharge> selectBusRechargeList(BusRecharge busRecharge);

    /**
     * 新增充值记录
     * 
     * @param busRecharge 充值记录
     * @return 结果
     */
    public int insertBusRecharge(BusRecharge busRecharge);

    /**
     * 修改充值记录
     * 
     * @param busRecharge 充值记录
     * @return 结果
     */
    public int updateBusRecharge(BusRecharge busRecharge);

    /**
     * 删除充值记录
     * 
     * @param rechargeId 充值记录主键
     * @return 结果
     */
    public int deleteBusRechargeByRechargeId(Long rechargeId);

    /**
     * 批量删除充值记录
     * 
     * @param rechargeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusRechargeByRechargeIds(Long[] rechargeIds);
}
